package com.mrx.wallabagserver.controller;

import com.mrx.wallabagserver.model.entry.EntryRequest;
import com.mrx.wallabagserver.model.entry.EntryResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Mr.X
 * @since 2024-03-15 10:30
 **/
@RestController
@RequestMapping("/api")
public class EntryController {

    @PostMapping("/entries.json")
    public EntryResponse entries(@RequestBody EntryRequest entryRequest) {
        return null;
    }

}
